{if isset($smarty.session._type) && $smarty.session._type ==0}
<a  href="index.php?projet=1"><span>Ajouter un projet </span></a>
{/if}


<div id="accordion">
	{foreach from=$lesprojes item=row}
	<h3>
		<a href="#">{$row.nomprojet}</a>
	</h3>

	<div>
	{if isset($smarty.session._type) && $smarty.session._type ==0}
		<div style="float: right;">	<a href="index.php?projet=1&editprojet=1&id={$row.id_projet}">Edit</a></div>
	{/if}
		<p>{$row.contenu}</p>
	</div>
	{/foreach}
</div>
</body>
</html>
